package com.pds.web.monitor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pds.web.monitor.domain.MonitorContractDTO;
import com.pds.web.monitor.domain.PdsMonitorContract;
import com.pds.web.monitor.domain.PdsMonitorContractVO;
import com.pds.web.monitor.dto.ContractDTO;

import java.util.List;

public interface IPdsMonitorContractService extends IService<PdsMonitorContract> {
    PdsMonitorContract insertContract(PdsMonitorContract pdsMonitorContract);

    Boolean updateContract(PdsMonitorContract pdsMonitorContract);

    Boolean deleteContract(Long id);

    List<PdsMonitorContractVO> listCompanyContract(MonitorContractDTO monitorContractDTO);

    Long getCompanyId(long deptId);

    Long getOrganizationId(long deptId);

    List<PdsMonitorContractVO> listOrganizationContract(MonitorContractDTO monitorContractDTO);

    List<PdsMonitorContractVO> listAll(ContractDTO contractDTO);

    PdsMonitorContractVO queryById(Long id);
}
